<ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:p="http://primefaces.org/ui" template="/WEB-INF/include/template/squelette.xhtml">

	<ui:define name="content">
		<div align="center">
			<p:panel header="Affichage des erreurs" style="width: 600px">
				<div>
					<h:outputText value="Dernière erreur survenue : " style="font-weight: bold" />
					<h:outputText value="#{sessionScope['application-erreur']}" style="color: red" rendered="#{sessionScope['application-erreur'] != null}"/>
					<h:outputText value="Aucune erreur" style="color: green" rendered="#{sessionScope['application-erreur'] == null}"/>
				</div>
			</p:panel>
		</div>

	</ui:define>

</ui:composition>